@charset "utf-8";

* {
	font-size: .3rem;
	color: #999;
}

body {
	background-color: #EFEFEF;
}

#marketWrap {
	height: 100%;
}


/*头部*/
#header {
	width: 100%;
	height: 1rem;
	align-items: center;
	background-color: #FFD600;

	display: flex;
	justify-content: space-between;

	position: fixed;
	top: 0;

	z-index: 1;
}
#header>#address {
	color: black;
	width: 4rem;

	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;

	margin-left: .4rem;
}

#header>#search {
	margin-right: .2rem;
	margin-top: .1rem;
}
#header .searchBg {
	width: .4rem;
	height: .4rem;
	background-image: url(../images/search.png);
	background-size: 100% 100%;
	background-repeat: no-repeat;
}
#header .searchText {
	font-size: .25rem;
	color: black;
}

/*帮助header站位的div*/
#phHeader {
	height: 1rem;
}

/*主体*/
#marketMain {
	display: flex;
	height: 100%;
}

/*左侧*/
#leftUl {
	width: 25%;
	background-color: #F8F8F8;
	height: 9.4rem;
	overflow: auto;
}
#leftUl>#classify {
	text-align: center;
}
#leftUl>#classify>li {
	height: .8rem;
	line-height: .8rem;
	border-bottom: 1px solid #ddd;
	font-size: .25rem;
	position: relative;
}
#leftUl>#classify>li>span {
	display: none;
	width: .08rem;
	height: .6rem;
	position: absolute;
	top: .1rem;
	left: 0;
	background-color: #FFD600;
}

/*右侧*/
#rightUl {
	width: 75%;
	height: 9.4rem;
}
/*列表头*/
#goodsUlHead {
	width: 75%;
	display: flex;
	overflow: auto;
	position: fixed;
	top: 1rem;
	right: 0;
}
#goodsUlHead>#goodsAllClass,  #goodsUlHead>#goodsSort{
	width: 50%;
	height: .8rem;
	line-height: .8rem;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	background-color: rgba(255,255,255,.9);
	text-align: center;
	font-size: .25rem;
	background-image: url(../images/downArrow.png);
	background-repeat: no-repeat;
	background-position: 1.9rem center;
	background-size: .2rem;
}
#goodsUlHead>div:last-of-type {
	border-right: none;
}
#placehold {
	width: 0;
	height: .8rem;
	border-bottom: 1px solid transparent;
}
/*右侧列表*/
#goodsUl {
	height: 8.6rem;
	overflow: auto;
	position: relative;
}
#goodsUl>li {
	display: flex;
	border-bottom: 1px solid #ddd;
	background-color: white;
	padding: .1rem .2rem;
	position: relative;
}
#goodsUl>li>#gImg {
	width: 35%;
}
#goodsUl>li>#gImg>img {
	width: 100%;
}

#goodsUl>li>#brief {
	width: 60%;
}

#classify li:nth-of-type(2) {
	background-image: url(../images/hot.jpg);
	background-repeat: no-repeat;
	background-size: 30%;
	background-position: right top;
}



/*与home相同样式*/
.intro {
	width: 1.8rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: .25rem;
	margin-top: .1rem;
}
.sel {
	font-size: .2rem;
	color: red;
	border: 1px solid red;
	border-radius: .07rem;
	display: inline-block;
	padding: 0 .05rem;
}
.num {
	font-size: .2rem;
	line-height: .4rem;
}
.price {
	font-size: .2rem;
	color: red;
	font-weight: bold;
}
.cIcon {
	 width: .5rem;
	 height: .5rem;
	 background-color: red;
	 border: 1px solid #eee;
	 border-radius: 50%;
	 background-image: url(../images/add.png);
	 background-position: -.48rem;
	 background-size: 1rem;
	 background-repeat: no-repeat;
	 position: absolute;
	 right: .2rem;
	 bottom: .1rem;
}
.pm_desc {
	display: inline-block;
	width: 1rem;
	text-align: center;
	font-size: .2rem;
	color: white;
	background-color: red;
	margin-left: .1rem;
	border-radius: .1rem;
}

/*模态窗口*/
#sortOption {
	display: none;
	width: 4.8rem;
	height: 8.6rem;
	position: absolute;
	z-index: 1;
	background-color: rgba(0, 0, 0, .2);
	top: 1.82rem;
	left: 1.6rem;
}
.goodsSortOption {
	background-color: white;
	border-right: 1px solid #ddd;
	padding: 0 .05rem;
	padding-top: .2rem;
	display: flex;
	flex-wrap: wrap;
}
.allSort {
	white-space: nowrap;
	padding: .05rem .15rem;
	font-size: .25rem;
	border-radius: .2rem;
	border: 1px solid #FFD600;
	background-color: #FFF9D9;
	margin-left: .2rem;
	margin-bottom: .2rem;
}